﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using FinosLibrary;
namespace FinosServiceLibrary.Server {
    public class SNetConnection:NetConnection {
        public void Connect(string host, string appname) {
            base.Connect(new IPEndPoint(Dns.GetHostEntry(host).AddressList[0], 4502), appname);
        }
        private static SNetConnection instance;
        public static SNetConnection getInstance() {
            if (instance == null) {
                instance = new SNetConnection();
            }
            return instance;
        }
    }
}
